Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix inverted timeout reset causing assertion #1007

Merged
merged 1 commit into from
Apr 7, 2021

Conversation

Wraith2
Copy link
Contributor

@Wraith2 Wraith2 commented Mar 25, 2021

While debugging some queries in synchronous mode an assertion added in #906 which is designed to make sure that timers are correctly reset between calls to ReadSni In async mode the reset works fine but in sync mode it hits a case where the reset check is inverted. This PR just reverses the reset and moves the assertion higher up in the method.

/cc @cheenamalhotra

@cheenamalhotra cheenamalhotra added this to the 3.0.0-preview2 milestone Mar 31, 2021
@cheenamalhotra cheenamalhotra merged commit 2c2f100 into dotnet:main Apr 7, 2021
@Wraith2 Wraith2 deleted the fix-timer-assert branch April 7, 2021 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants